allow custom arg lengths, fix typos