changed scale and fix for ios 8