fix coal string decoding; in some cases empty string become false -> substr error
Merge branch 'release/4.1.47'