fix scale for ios