fix fee subtraction