better error handling for failed string conversions