fix form reset