Fix type error.
Remove hardcode value, waiting for fix in the API.