fixed word offsets and printing.