get rid of resetForm error?