next pages not loading bug fixed