fix for deactivating editable items