fix for ios 8.1