fix bug in page create when has parent