Added exception for ios 6