fix parse page layout