fix BufferedReader read bug.