fixed the paypal button when debugging is enabled