Fixed CreateAnnotation functional