fix for older glib