fix UI bug in IOS