fixed segfault from no presented arguments and non-zero return.