disable ios6 only code