cleaning style and creating tags