rename fetch_fields to pop_fields in api_tools.py
remove options_validity_check from delegate_tools.py