fix to gnome-session