fix clearing attrs
Merge pull request #24 from BrandyMint/aleksxor/json-styles

fix clearing attrs