revert some unwanted changes