Fixing joining url and its links