fix bugs in read sentence