fix first page trip bug