* Fix a bug for buildForm funciton.