resetting repository