remove debug try-except blocks