fix a few directives using the old syntax