made presence of <title> element optional