[tut/chap6] fix suggested by Kathy