fix crash on inital state