fixed resizing on styles