modified forms.py to be consistent with scanpage