bugfix for PayPal live or test mode