More work on porting errors