fix inf builder