bug fixed for book lesson logic.