append trailing slash once