fixed remove crash on ios