fixed bug related to editing multiple books in same session