fix to stylesheet saving