Fix wrong creation of images path