Fixed formatting of segments