fixed styles with resources