Fixed a bug where the forms_fields_generate could be executed multiple times.