fix the bug: can't display the right icon completely