fix some bug run on xfce