fixing field-reusing-problem in builder