fix some bugs of bookstore