Fixed bug with getting form action