fixed problem with eventwatcher while editing