bug fixing for the format of the payment