Fix weight, style, etc. values