set basepath again