fixed duplicate code in generated css