fix transaction fee calculation again