fixed visited chapter error