fix form_to_db_schema errors