revert some of the changes made earlier.