unused directives removed