sometimes we don't have an html body and it causes problems