fix the import of the glabals from the irrigate_by_pm_config