fixed builder serialization issue