minor bug fixed in box evaluation