fix a bug rename  and  get textrue path

fix a bug rename  and  get textrue path