refactor check name display