fixed small bug in bbox