correct argument in case of fail
update the doc