fixed minor compile error on Xcode 5