Fixed incorrect function call