process events fix