changes event get to wait