support command line options
remove useless debug lines