fixing heirarchy of css styles