bump version and fix up code for ios4/5