removed ios8 check