Fixes incorrect function call