fix registerAnnotations autoload