fix offset for the page