Fix resetting paths