fixed default attribute for repository