fixed command-line issue