Fix misnamed function