added xplatform single window