check for valid content, #1884