fixed method for reset