Tried RangeError fix