fix showing deleted images