fixed the syntax highlight of completed cmd issue