fixed after hotswap, some events cant be triggered