fix some constructors