move uuids to end, add line break