fixed infinite loop caused by not dequeing dma image