Fixed the graphic bug