Fixes a crash in the CLI.