corrected a small display bug