fix 'remove book' bug