polish undefined result