Fix parameter type

Signed-off-by: Marc Delisle <marc@infomarc.info>
Fix typo

Signed-off-by: Marc Delisle <marc@infomarc.info>