revert changes for 3rd party code