display bug fix for #160