fixed bug in word tutor. It also works when there is no transaction.