fixed an error opening a 'blank' search window