fix bug of macro highligh