fix .cssClass for components in web