correcting diff application