check arg is not null