bugfixes, delete from DB after download