issue #905 fix display bug