fix time partition index writing (1)