Internal Error [1518985591733409]: list index out of range