font weight bug fix