Fix incorrect function call