clean up diff