modify basepath URL