exit with 1 in case of bad argument