more porting issues