fix pointer problem when page record convert to record, but still has a problem, which causes a segmentation fault.