Fixed:
    test and modified the bugs of reg and book main page