fixed small bug within displayBox