Added Die parameter checking

fixes #8103
fixes #8105
I will add it.