resetting dist