handle nulls in argvs better