fixed deprecated offset{X,Y} and page{X,Y}