compile error fixed below Xcode 6.1.1