[dirty] fix UI bugs