fixed bug in addbooktoshelf