gameobject active api fix