fixed bug when args was null