retore incorrectly modified code