init var properly (g_free will be happy)