fix comparing font issue