fixed most annoying warnings (Xcode 5.0, default level)