trailing slash bug