fixed the style sheet not being embedded issue