check to avoid newlines in database string fields