restore repo back to normal