Fix error and app pages