possible fix for indexOutOfRangeException