cleans up style, including counts