fixing item editing