fix some ui bugs