add support for multi window