adjust event view for sql events