refactor directives + sass