[#638] Use correct function