IOS 7 compatibility

won't run on IOS7 with reason: unknown selector