fixes the index issue of task list heading