make foreignkey form and modelform fields work