Critical failure: List index out of bounds (24)