fix ambiguous catch