modify the path to img