fix book crash