add event dispatcher to composer file again