PMXTC-38 fixed wrong amount with different settings