Fix Param class convert method