gmt id is trimmed before writing in a file.