some fix for ios