removed xcode warnings for xcode 6