strech the box to the panel height and fix a bug.