fix vdma flag system