fixed ios5 crash