more porting of ios mods