fixing some discrepancies related to codex/delete from book shelf on bookshelf