dont lose images when deleting