fixed offset and page height issue