fixes #3348
Merge pull request #3357 from digi604/fix-3348

fixes #3348