fix bug debt search