upgrade flutil and adapt to flu_gets()