changed last page to be correct last page