Fixing odb formulaes