check sexFormula