fix sentence reordering and a few minor things