fix command line arguments