fixed single_text format bug