fix bug of aes fields