Param type bug fix