Fix small bug in UI