fixes image paths