add slash to path