removed unused method
removed warning for ios 8 targets