add contract configuration UI_fix form bug