validate deleteannotation