The index form is now working properly