index out of range buy fixed