fixed #4 (compiler error with Xcode 6B3)