fixed warnings under xcode 5.1