bug fix

fixed ddinit event to be fired always first