fix some buggy ios