Fixed crash with Xcode 5.1