queries working again