Fixed incorrect function call

Signed-off-by: Mansour Behabadi <mansour@oxplot.com>