fix inline math & font problem