2nd attempt at fixing a attribute style