clean up modifications