fixed events rebind loop