fix errors caused by omit -n