Fix URL paths bug