revert after imagepath deletion
revert after imagepath deletion