fix CSS parsing bug