modify loadpg path.