managed to get root state

shoe horned in a hack to get the states working on the root index