linux porting: ortho fixes