Correct some state  in index