diff --git a/server/autoloads/gamestate.gd b/server/autoloads/gamestate.gd
index 29548939fe137518171b084ae3c6df67ce7f411e..ac65b487fa57bfa1e596b0bef5d36d45325e8e2f 100644
--- a/server/autoloads/gamestate.gd
+++ b/server/autoloads/gamestate.gd
@@ -15,7 +15,7 @@ const MAX_ITEMS = 5
 var nbItemTotal:int = 0
 
 var timer = null
-var item_delay = 30
+var item_delay = 15
 signal deleteItem
 
 var rng = RandomNumberGenerator.new()
@@ -122,7 +122,7 @@ func spawnInitItem():
 		var i=rng.randi_range(0,len(listAvailableItem)-1)
 		var position = get_node(GAMEPATH+"spawnCollection/spawn"+str(listAvailableItem[i]+1)).get_translation()
 		var newitemScene:Object = itemScene.new(nbItemTotal,typeItem,position)
-		newitemScene.set_name("item"+str(newitemScene.get_instance_id()))
+		newitemScene.set_name("item"+str(newitemScene.id))
 		get_node(GAMEPATH+"itemCollection").add_child(newitemScene)
 		self.connect("deleteItem",newitemScene,"on_timeout_complete")
 		newitemScene.translate(position)
diff --git a/server/entities/characters/player.gd b/server/entities/characters/player.gd
index 786c22d7f33fdf72b4dddda6ccb150659879aa0a..6bae220e7ac666b20dbc0c559c6c1af37c9b5cdc 100644
--- a/server/entities/characters/player.gd
+++ b/server/entities/characters/player.gd
@@ -192,9 +192,10 @@ mouseX:int, mouseY:int, itemInput:bool):
 	# Pick and Drop Item
 	if itemInput :
 		print("input")
-		for node in get_node(GAMEPATH+"spawnCollection/"):
-			print("node :"+node.name())
-#			node.nearItem()
+		var list = get_node(GAMEPATH+"itemCollection/").get_children()
+#		for i in list:
+##			print("node :"+str(i.id))
+#			i.nearItem()
 		pass
 
 
diff --git a/server/entities/items/beer.gd b/server/entities/items/beer.gd
index 735be7efdb42392a7cf56f1eb43af8296672f035..4824238665916908c3688d3b68831b3ade4a10d4 100644
--- a/server/entities/items/beer.gd
+++ b/server/entities/items/beer.gd
@@ -1,12 +1,13 @@
 extends Area
 
+const player: = preload("res://entities/characters/player.gd")
+
 const GAMEPATH = "/root/game/"
 
-const player: = preload("res://entities/characters/player.gd")
 
 var id:int
-var typeItem: int
-var position: Vector3
+var typeItem:int
+var position:Vector3
 
 
 func _init(id: int, typeItem: int,  position:Vector3):
@@ -14,35 +15,12 @@ func _init(id: int, typeItem: int,  position:Vector3):
 	self.typeItem = typeItem
 	self.position = position
 
-
-
+	
 func nearItem():
 	var listBody = self.get_overlapping_bodies()
 	print(listBody)
 
-#var timer = null
-#var beer_delay = 15
-#
-#signal createNewItem
-
-#func _ready():
-#	timer = Timer.new()
-#	timer.set_one_shot(true)
-#	timer.autostart = true
-#	timer.set_wait_time(beer_delay)
-#	timer.connect("timeout",self,"on_timeout_complete")
-#	get_node(GAMEPATH).add_child(timer)
-
-	
 
 func on_timeout_complete():
-#	timer.free()
 	rpc("deleteItemClient")
-#	var x = self.name
-#	x.erase(0,4)
-#	x.to_int()
-#	print("x :",x)
-#	emit_signal("createNewItem",x)
-#	timer.stop()
-#	timer.queue_free()
-	queue_free()
\ No newline at end of file
+	queue_free()
diff --git a/server/entities/items/trumpet.gd b/server/entities/items/trumpet.gd
index 22becae876a507b9b36b696f96f9f479665a34f5..4824238665916908c3688d3b68831b3ade4a10d4 100644
--- a/server/entities/items/trumpet.gd
+++ b/server/entities/items/trumpet.gd
@@ -19,28 +19,8 @@ func _init(id: int, typeItem: int,  position:Vector3):
 func nearItem():
 	var listBody = self.get_overlapping_bodies()
 	print(listBody)
-#var timer = null
-#var beer_delay = 15
-#
-#
-#func _ready():
-#	timer = Timer.new()
-#	timer.set_one_shot(true)
-#	timer.autostart = true
-#	timer.set_wait_time(beer_delay)
-#	timer.connect("timeout",self,"on_timeout_complete")
-#	get_node(GAMEPATH).add_child(timer)
-	
+
 
 func on_timeout_complete():
 	rpc("deleteItemClient")
 	queue_free()
-
-
-
-
-
-
-#func _on_beer_body_entered(body):
-#	if body is player:
-#		queue_free()