change the position of method proccesreadbuffer