removing dead code around item names