Fix cannot change page issue