fix the bugs with path prefix