Updated levelmgr to be zero based