replace dict with list in policy env