removed g_free