Fix misnamed function call