Fix generated record value