fixed a css bug with compound selectors