fixed cached styles var name bug