fix #28 - bug when using parentheses in directive