fix some path permission issue