fix first page issue