if there is a duplicate parameter then issue an error message

fix ChicagoBoss/ChicagoBoss#169