bugfix: check correct arg-len