works now also with older glib version