try catch paypal bug fix