fix rep formatting