fix crash on missing typical state time
fix missing typical_state time
Merge branch 'master' into oldcoder_special_2.0