more precise window name selection