Fix an incorrect function call