fix sometimes page link does not work