fix bug and document
remove -x option