Corrected a bug in parameter parsing.