fixed no-args bug