check for different window titles