fix 4323443 [#1977] thanks @toote