Fix code after merge (book view)