fixed formatContent