typo fixed
typo fixed
- Added missing parameter checking