fixing style attrs