fixed so that statistics navigation works
got statistics mostly working