add some ui support