check for arguments on invocation

This solves the bug found while testing for #18.