more efficient
fix for gnome 3.14