fix form reset error