corrected python state to match map.jinja