fixes to search and print results of both searches with one click