Fixed the bug with form.py