add trailing slash to path
add trailing slash to path