Fixed a seg fault on the wrong command line parameters