small bug in UI example