-Fixed a typo and a senseless assignement
-Fixed a bug in the parameter parsing
-Removed an unnecessary assignement