revert some changes made