Deleted some useless code from index_form