refine code
fix bug wrong config path