removed extra code that prevent caching styles