fixed bug in CLI arguments