error on directive name