fix form onsubmit