fix weekstate not serializable error