add safe map operating