fix the bug that dma not initialized.