fix: undefined date in cgrid_state