rollback workaround to support iOS 6.x