for param _path: remove first slash if there is nothing before it