fix pageX issue