fix missing directives