fixed bug #3341
Merge pull request #2086 from ilya-lavrenov:mul_fix