fixed warning with XCode 6.0