[fix] warning: use of deprecated item: prefer using indexing