fix typo
max allowed current as parameter