corrected dynamic path for PG-loading