trailing slash removed