corrects img path