cleaned up implicit value conversions

Xcode was giving value conversion warnings when installing via CocoaPods. Small fixes to remedy those.