fix typos preventing save/update