fix bubbling behavior