fixed slight bug in xsession