fix graphic bug