Fix an attributes issue
when copy formobject to the builder attributes is lost