Fix type in repository