fixed prospect query