repair small bug