more little fixes to db download