fixing css hierarchy issues