Fix bug: index out of range