fix font family assignment for firefox