fix Issue 10089 - Strange function call error message with specified module
Merge pull request #2040 from 9rnsr/fix10089

[REG2.063a] Issue 10089 - Strange function call error message with specified module