fix edit new item bug