MDL-38147 bug fix, changed usage of non-existing function