fix to not scan in overflow range