fix display bug in list command