fix command line and remove an assert