fixed deleteion of argv when argc==0 (argv not empty due to delimiter NULL)
fixed tools - deleteion of argv when argc==0 (argv not empty due to delimiter NULL)
+