bugfix: incorrect treatment of passed arg