ios 6 backward compatability