Minor Changes

Improved delete duplicate function, and got rid of "/" at end of some
url parsing.