fixed bug in CLI: worker not found