[Bug 522] porting problems