enlarge token length to 512 to allow fermet token