tried to retriebhe the image path but failed