Fix html/text part choice