Fixed variable denifition bug in map.jinja