simplify tags generation