fix bug: missing rectangle candidates