forgot to add trailing backslash to the url, after removing it from regex