removed directives template stuff