restore removal/edition of annotation in diff and regression module
merge with previous version