reverting changes to sgd file