Fixed duplicate function parameters
Merge pull request #470 from mbeccati/dup_param_fix

Fixed duplicate function parameters