small fixes to iOS .h and .m files