#1368 fixed small bug