query with event only if it is available