Fix broken directives