Fixing datacollector formatting issue