remove iOS5 compatibility