fix bug in set display