fix func_value parser problem