Set map to null when done