overlay class fix