fix in state output