Fix type error.