fixed retrieve page for endpoint