Fixed bug in the form action