refine code, fix bug of hls, following jetbrains clion code-inspector. 0.9.215