Fix a few bugs found when testing under linux

- missing a: before arg variable
- incorrect usage of System in void context