reset map remove values in case they are reused later