simplify directive