fixed bug in no-args argument passing