fix bug in find bound