fix the splitted book into array