added trailing slash to paths