fixed a regession bug coming from last commit that resulted in an empty style-sheet