bug fixed: item editing was giving error for the same name.