fix: out-of-list index