implemented validation for issue #37: duplicate parameters are allowed