fix compatibility issues for Swift 1.1