fix bug in bench script...