Fix function call.
Merge pull request #34 from thehyve/bugs/fix_function_call

Fix function call