I found a solution. The error occurs when I use the setting option VBR 50. If I convert the file from mp3 to aac using the option ABR 128, the length is a little longer than the mp3, but that is OK. Then I convert the file, aac to aac VBR 50.
If anyone knows a better work around, please speak up.