Fixed a bug related to xdg compliance