delete map if map exist