limit max scan count 10000
improve for issue #135:limit max scan count 10000