img path  error fix