Fixed typos pointed out by Xcode