fixed header dict and text_body