fix font condition