don't return emtpy window name