revert old code changes