Merge remote branch 'kc/new/enh/bug_5640' into kcmaster