Fix the CLI issue when installing globaly