Fixed minor bugs of register new book.