minor fix pertaining to bad list indexes