fix delay index