added fix for doubled parameters
Merge pull request #390 from frastel/params-fix

Added fix for doubled parameters