fixed removal of annotations