directives now render properly