minor dom events update