[IMP] adapt fields.py