fix edit collection