fixed states error