improved resetting button