Fixed a notice if no args supplied

and another one ...