Fix item type in Editor