minor change in creating reset buttons