fix duplicate *data* constructors
also fix duplicate *type* constructors