fix for issue #365

just a fix for the issue cost-strategy-fix

no tests; working on them in separate branch