fix spec for g_select