Internal Error [1519042671643907]: list index out of range