fixed print help message and quit bug