fix layout getbookfault and some bugs