rename findDirective to findAnnotation
fix Errorf