Fixed next_page is a byte bug