fix vit dev close bug, and time series stuff