Fix type for params