adapt some lo-dash helpers