fix resetting map when switching from map view to form view