bugfix crash on iOS4.x