fixed diplay bug