removed a duplicate parameters setting in 'run_flash'