reverted event hide optimizations