fixed the couch query