JG: fixed bug in MDQ_FADCBufferOverflow