fix overlapping styles