cleaned up Xcode 6 warnings