fix a pre bug, caused by highlight