Error in Directives fixed