fix error with impact computation

minor error fixed