fix lookupEvent.. now we can query previous and next event