Removal of errors made during branch sync