small bug in plot