remove map from DB on failure