fix typos in directives.