removing circular pagination