small tweak to fix trailing / in url