Fix when edit just one register