CAL-465: fix the input search smaller