ios5 bug fix
ready for tag 0.3.1