fix form action bug