add state in to_dict order