updated query, bug persists