correct query wrong method