fix typo and wrong param.

have a nice hack