fix the issue of component path