don't call callback inside of a try statement