improve event target check
make getter for UI element