Fix: AttributeError in forms