bug fix for cases when a problem has newlines in it's description, cleaned up