repair constructors