epop unique id bug, make edited image to type file