fix make link method bug causing duplicate slashes