modified winmanager