queried wrong state value.