fix Safari font-weight bug