app page and index fix