improved styles cacher errors check & updated markup