fix overlay class