fixed urlgrey trailing slash bug.