pop-up problems with query trial