fix export to work with local storage, delete does not delete from storage