fixed style not being applied properly
Tidy
Fixed some issues with group inheritance