Bugfix for edit books