force valid format of extra fields