hotfix stock/loss now write correct log