fixed pageX issue