cleanup of annotator