Fix dispatch callback flag