bug with next page