fix bounds check fix
fix to not scan in overflow space