fixed state map correction.