small bug in last