Fix wrong page display