fix css inherit issue