Stopped enc returning duplicate states