badstrings and error handling