set title when no text/html content