fix item editing