fixed error when calling without args