fix load state