BUG: Corrected a bug, the count variable in the parameter's loop was not incremented correctly.