yeah why did i even type this
Add an handler if the map isn't valid.