properly reset shader