fixing the directives