fix page generate error