url dispatcher trailing slash bug fixed