directives tidy