fixed edit errors for repodiff