bugfix xwin