Fix URL concatenation issue