properly reset model