fix task index and show