fix typos
pad key correctly