Getting page range from method and can reset field