replace project/sample with _ for whitespace