revert the unnecessary changes