db events fix