last page fix