fix source codes not to use rewind().