bugfixed: index state