remove an old attribute in the repository factories