iOS6 compatibility issues