removed ios 5 checks