fixed Set::Object warning on freeing unreferenced scalar