Remove arg by reference

Signed-off-by: paul de wouters <paul@hmn.md>