fix option params in command line