moved formula to an attribute in output from glFormula.