fix swift 1.1

Just some fix from Swift 1.1