removed iOS8 warnings