fix command line scope