modernize css class overlap bug fix