fixing path issues with CLI