fix typos, fix protocol signatures