fix trimming comment footer