Added so that you cant add obstacles to map without having a valid name to the map.