reset values when they are removed