restore custom form elements