fix some code display bug