fix undefined parameter error
Merge pull request #3 from gypark/param_error

fix undefined parameter error