fix bug run  in IOS