working on unsafe image paths