fix call with no argument, add unit test