fix word breaks in headers (closes #321)