fix a w_readline bug
w_readline & w_readline_buffer