settle items delegates
improve settlement process sql
improve inventory process sql