fix editing error

closes PR 14764