fixing errors with the dma channel config