fixed bug (the url with or without last slash don't equal)