clean up DOM interactions