fix form reset #298