fix for calcImpact with no wallet