fix misnamed function