stop adding directive name as an attribute to replace directives