fix minor bugs in bench scripts -- PB