fix annotations compilation