finally solved the observer<->event problem