server: fix typos in conversion