Fixing ios 4