removed some warnings
deref bug
highlight event