Fix bug on UI forms.