fixed wrong gameobject reference when duplicating keys for take