fix names for directives