fix missed time gates initialize after task loading.