adjust detection range