changed event-picking to work with non deterministic URLs