refine code according to inspect of clion. 0.9.219