fix the path bug