use `-e ` and trap