Workaround for trailing slash bug ="